package com.yang.pojo;

import com.yang.entity.Category;
import com.yang.entity.Product;

import java.util.List;

public class HtmlProductVO {

    private Product product;
    private Integer id;
    private String parentName;
    private String parentSons;

    public HtmlProductVO() {
    }
    public HtmlProductVO(Product product, Integer id, String parentName, String parentSons) {
        this.product = product;
        this.id = id;
        this.parentName = parentName;
        this.parentSons = parentSons;
    }

    @Override
    public String toString() {
        return "HtmlProductVO{" +
                "product=" + product +
                ", id=" + id +
                ", parentName='" + parentName + '\'' +
                ", parentSons='" + parentSons + '\'' +
                '}';
    }
}
